package com.yunxin.core.infra.persistence.mapper.product;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.product.ProductCustomConfigDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zero°
 * @since 2023-05-25
 */
@DS("core")
@Mapper
public interface ProductCustomConfigExtendMapper extends ProductCustomConfigMapper {

    /**
     * 根据产品id查询产品客户配置
     * @param productId productId
     * @return ProductCustomConfig
     */
    ProductCustomConfigDO selectByProductId(@Param("productId") Long productId);
}
